<template>
  <div class="table">
    <el-table :data="tableData" style="width: 100%">
      <el-table-column 
      v-for="(item, index) in tableData[0]" 
      :key="index" 
      :label="index"
      :width="item.height" 
      :prop="index"> 
      </el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
  name: 'TableTemplete',
  props: {
    tableData: Array,
    tableTitle: Array,
  },
}
</script>

<style lang="scss" scoped></style>
